<?php

class ProfessoresController extends Controller
{

    public function actionIndex()
    {
        $dataProvider = new CActiveDataProvider('UsuarioProfessor');
        $this->render('index', array(
            'dataProvider' => $dataProvider,
        ));
    }
	

	
	
	
	
    public function actionView($id) {
        $model = Usuario::model()->findByPk($id);
        if ($model === null)
            throw new CHttpException(404, 'The requested page does not exist.');
        $this->render('ver', array('model' => $model));
    }
}
